package com.javacoo.xservice.base.support.event;

import org.springframework.context.ApplicationEvent;

import com.javacoo.xservice.base.support.swaparea.SwapAreaData;

/**
 * 交易完成事件对象
 * <p>说明:</p>
 * <li>基于Spring的事件机制</li>
 * @author DuanYong
 * @since 2017年7月3日上午9:20:26
 */
public class TransCompleteEvent extends ApplicationEvent{
	private static final long serialVersionUID = 1L;
	/**数据交换区对象*/
	private SwapAreaData swapAreaData;
	
	public TransCompleteEvent(Object source) {
		super(source);
	}
	public TransCompleteEvent(Object source, SwapAreaData swapAreaData) {
		super(source);
		this.swapAreaData = swapAreaData;
	}

	public SwapAreaData getSwapAreaData() {
		return swapAreaData;
	}

	public void setSwapAreaData(SwapAreaData swapAreaData) {
		this.swapAreaData = swapAreaData;
	}
	
	
}
